package com.jiayang.hhotel.bean;

import java.util.List;

import cn.droidlover.xdroidmvp.net.IModel;

/**
 * Created by Administrator on 2017/5/4 0004.
 */

public class BuildNoModel implements IModel{


    /**
     * state : 0
     * info :
     * bldgList : [{"code":"A","chnDescp":"主楼","engDescp":"dsa","photoPath":"ads"},{"code":"B","chnDescp":"后楼","engDescp":"asd","photoPath":"asd"},{"code":"01","chnDescp":"无","engDescp":"ads","photoPath":"ads"}]
     */

    private int state;
    private String info;
    private List<BldgListBean> bldgList;

    @Override
    public boolean isNull() {
        return false;
    }

    @Override
    public boolean isAuthError() {
        return false;
    }

    @Override
    public boolean isBizError() {
        return false;
    }

    @Override
    public String getErrorMsg() {
        return null;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public List<BldgListBean> getBldgList() {
        return bldgList;
    }

    public void setBldgList(List<BldgListBean> bldgList) {
        this.bldgList = bldgList;
    }


    public static class BldgListBean {
        /**
         * code : A
         * chnDescp : 主楼
         * engDescp : dsa
         * photoPath : ads
         */

        private String code;
        private String chnDescp;
        private String engDescp;
        private String photoPath;

        public String getCode() {
            return code;
        }

        public void setCode(String code) {
            this.code = code;
        }

        public String getChnDescp() {
            return chnDescp;
        }

        public void setChnDescp(String chnDescp) {
            this.chnDescp = chnDescp;
        }

        public String getEngDescp() {
            return engDescp;
        }

        public void setEngDescp(String engDescp) {
            this.engDescp = engDescp;
        }

        public String getPhotoPath() {
            return photoPath;
        }

        public void setPhotoPath(String photoPath) {
            this.photoPath = photoPath;
        }
    }
}
